color functions
XgrConvertColorToRGB ( color, @red, @green, @blue )
XgrConvertRGBToColor ( red, green, blue, @color )
XgrGetBackgroundColor ( grid, @color )
XgrGetBackgroundRGB ( grid, @red, @green, @blue )
XgrGetDefaultColors (@back, @draw, @lo, @hi, @dull, @acc, @lowtext, @hightext )
XgrGetDrawingColor ( grid, @color )
XgrGetDrawingRGB ( grid, @red, @green, @blue )
XgrGetGridColors ( grid, @back, @draw, @lo, @hi, @dull, @acc, @lowtext, @hightext )
XgrSetBackgroundColor ( grid, color )
XgrSetBackgroundRGB ( grid, red, green, blue )
XgrSetDefaultColors ( back, draw, lo, hi, dull, acc, lowtext, hightext )
XgrSetDrawingColor ( grid, color )
XgrSetDrawingRGB ( grid, red, green, blue )
XgrSetGridColors ( grid, back, draw, lo, hi, dull, acc, lowtext, hightext )
 

XgrConvertColorToRGB  ( color, @red, @green, @blue )

XgrConvertColorToRGB() converts color into 16-bit per color RGB format (red,green,blue) intensities.

XgrConvertRGBToColor  ( red, green, blue, @color )

XgrConvertRGBToColor() combines 16-bit per color RGB format (red,green,blue) intensities into a color suitable for passing to drawing functions.

XgrGetBackgroundColor  ( grid, @color )

XgrGetBackgroundColor() returns the current background color of grid as (red,green,blue,colorNumber), each an 8-bit value.

XgrGetBackgroundRGB  ( grid, @red, @green, @blue )

XgrGetBackgroundRGB() returns the current background color of grid as 16-bit (red, green, blue) intensities.

XgrGetDefaultColors  ( @back, @draw, @low, @high, @dull, @acc, @lowtext, @hightext )

XgrGetDefaultColors() returns the colors assigned to grids when they are created by XgrCreateGrid() .